package com.fary.holder;


import com.fary.entity.PaymentInfo;

public class PaymentInfoHolder {
    private static ThreadLocal<PaymentInfo> paymentInfoDo = new ThreadLocal<PaymentInfo>();

    public static PaymentInfo get() {
        return paymentInfoDo.get();
    }

    public static void set(PaymentInfo paymentInfo) {
        paymentInfoDo.set(paymentInfo);
    }
}
